import Layout from '@/layout'

export default {
  path: '/log-trace',
  component: Layout,
  redirect: '/log-trace/call-chain',
  name: 'LogTrace',
  meta: {
    title: '日志跟踪',
    icon: 'example'
  },
  children: [{
    path: 'call-chain',
    component: () => import(/* webpackChunkName: "dynamic-table" */ '@/views/log-trace/call-chain'),
    name: 'CallChain',
    meta: {
      title: '调用链日志',
      noCache: true
    }
  }, {
    path: 'call-chain-detail',
    hidden: true,
    component: () => import(/* webpackChunkName: "dynamic-table" */ '@/views/log-trace/call-chain-detail'),
    name: 'CallChainDetail',
    meta: {
      title: '调用链详情',
      noCache: true
    }
  }, {
    path: 'business',
    component: () => import(/* webpackChunkName: "dynamic-table" */ '@/views/log-trace/business'),
    name: 'Business',
    meta: {
      title: '业务日志',
      noCache: true
    }
  }, {
    path: 'sql',
    component: () => import(/* webpackChunkName: "dynamic-table" */ '@/views/log-trace/sql'),
    name: 'Sql',
    meta: {
      title: 'sql日志',
      noCache: true
    }
  }]
}
